import 'package:freezed_annotation/freezed_annotation.dart';

part 'sj_friend_list_item_data.g.dart';

@JsonSerializable()
class SjFriendListItemData {
  final String? userId;
  final String? avatar;
  final int? gender;
  final String? nickname;
  final String? country;
  final int? userType;
  final String? avatarUrl;
  final String? birthday;
  final int? age;
  final String? language;
  final String? about;
  final bool? isSpecialFollow;
  final String? onlineStatus;
  final int? level;
  final int? grade;
  final bool? isVip;
  SjFriendListItemData(
      {this.userId,
      this.avatar,
      this.gender,
      this.nickname,
      this.country,
      this.userType,
      this.avatarUrl,
      this.birthday,
      this.age,
      this.language,
      this.about,
      this.isSpecialFollow,
      this.onlineStatus,
      this.level,
      this.grade,
      this.isVip});

  factory SjFriendListItemData.fromJson(Map<String, dynamic> json) =>
      _$SjFriendListItemDataFromJson(json);
  Map<String, dynamic> toJson() => _$SjFriendListItemDataToJson(this);
}
